Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-60: [C++] Struct type builder API #66

Closed
wants to merge 5 commits into from

Conversation

fengguangyuan
Copy link

@fengguangyuan fengguangyuan commented Apr 20, 2016

Implement the basic classes, StructArray and StructBuilder, meanwhile,

add the perspective test cases for them.

Other necessary methods will be added subsequently.

@fengguangyuan fengguangyuan force-pushed the ARROW-60 branch 2 times, most recently from 73eb5c2 to b80cea2 Compare April 20, 2016 15:23
@emkornfield
Copy link
Contributor

Hi it looks like this change failed CI. Could you please make sure it passes? If you need help diagnosing the failure please post a comment.

@@ -71,6 +72,20 @@ Status MakeBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
}
}

Status MakeStructBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
const std::vector<std::shared_ptr<Field>>& fields,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use FieldPtr you typedefed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you defining this in terms of Fields instead of DataTypes? This is incongruent with other builder APIs I believe.

@wesm
Copy link
Member

wesm commented Jun 3, 2016

@fengguangyuan can you rebase (due to ARROW-209) and let me know when the build is passing? Thank you

fengguangyuan added 5 commits June 3, 2016 11:07
Implement the basic classes, StructArray and StructBuilder, meanwhile,

add the perspective test cases for them.

Other necessary methods will be added subsequetly.
Refine the previous committed patch.
Add validate methods for testing StructArray and StructBuilder.
TODO, Equals methods also need to be tested, but now it's not
convient to do it.
Modify Validate() refered to the specification.
Add RangeEquals method to implement Equals method.
Add field index and TODO comment.
@fengguangyuan
Copy link
Author

@wesm
Problem solved.

@wesm
Copy link
Member

wesm commented Jun 7, 2016

+1 thank you

@asfgit asfgit closed this in 9ce13a0 Jun 7, 2016
praveenbingo added a commit to praveenbingo/arrow that referenced this pull request Aug 30, 2018
Exporting supported data types and functions from Gandiva.
Added a JNI bridge to access this from the java layer.
praveenbingo added a commit to praveenbingo/arrow that referenced this pull request Aug 30, 2018
Exporting supported data types and functions from Gandiva.
Added a JNI bridge to access this from the java layer.
praveenbingo added a commit to praveenbingo/arrow that referenced this pull request Aug 30, 2018
Exporting supported data types and functions from Gandiva.
Added a JNI bridge to access this from the java layer.
praveenbingo added a commit to praveenbingo/arrow that referenced this pull request Aug 30, 2018
Exporting supported data types and functions from Gandiva.
Added a JNI bridge to access this from the java layer.
wesm added a commit to wesm/arrow that referenced this pull request Sep 2, 2018
…ocalFileSource

I also added the `file_descriptor` API so that we can verify that dtors elsewhere successfully close open files. Closes apache#56

Author: Wes McKinney <[email protected]>

Closes apache#66 from wesm/PARQUET-520 and squashes the following commits:

9d638ba [Wes McKinney] Add memory-mapping option to ParquetFileReader::OpenFile. Add --no-memory-map flag to parquet_reader
6389683 [Wes McKinney] Add Read API tests
dbf6a45 [Wes McKinney] Test some failure modes for LocalFileSource / MemoryMapSource
01a7d64 [Wes McKinney] Add a MemoryMapSource and use this by default for SerializedFileReader
praveenbingo added a commit to praveenbingo/arrow that referenced this pull request Sep 4, 2018
Exporting supported data types and functions from Gandiva.
Added a JNI bridge to access this from the java layer.
wesm added a commit to wesm/arrow that referenced this pull request Sep 4, 2018
…ocalFileSource

I also added the `file_descriptor` API so that we can verify that dtors elsewhere successfully close open files. Closes apache#56

Author: Wes McKinney <[email protected]>

Closes apache#66 from wesm/PARQUET-520 and squashes the following commits:

9d638ba [Wes McKinney] Add memory-mapping option to ParquetFileReader::OpenFile. Add --no-memory-map flag to parquet_reader
6389683 [Wes McKinney] Add Read API tests
dbf6a45 [Wes McKinney] Test some failure modes for LocalFileSource / MemoryMapSource
01a7d64 [Wes McKinney] Add a MemoryMapSource and use this by default for SerializedFileReader

Change-Id: I467fcda7439d36c244d74bf5fec0ae61f6b674f0
wesm added a commit to wesm/arrow that referenced this pull request Sep 6, 2018
…ocalFileSource

I also added the `file_descriptor` API so that we can verify that dtors elsewhere successfully close open files. Closes apache#56

Author: Wes McKinney <[email protected]>

Closes apache#66 from wesm/PARQUET-520 and squashes the following commits:

9d638ba [Wes McKinney] Add memory-mapping option to ParquetFileReader::OpenFile. Add --no-memory-map flag to parquet_reader
6389683 [Wes McKinney] Add Read API tests
dbf6a45 [Wes McKinney] Test some failure modes for LocalFileSource / MemoryMapSource
01a7d64 [Wes McKinney] Add a MemoryMapSource and use this by default for SerializedFileReader

Change-Id: I467fcda7439d36c244d74bf5fec0ae61f6b674f0
wesm added a commit to wesm/arrow that referenced this pull request Sep 7, 2018
…ocalFileSource

I also added the `file_descriptor` API so that we can verify that dtors elsewhere successfully close open files. Closes apache#56

Author: Wes McKinney <[email protected]>

Closes apache#66 from wesm/PARQUET-520 and squashes the following commits:

9d638ba [Wes McKinney] Add memory-mapping option to ParquetFileReader::OpenFile. Add --no-memory-map flag to parquet_reader
6389683 [Wes McKinney] Add Read API tests
dbf6a45 [Wes McKinney] Test some failure modes for LocalFileSource / MemoryMapSource
01a7d64 [Wes McKinney] Add a MemoryMapSource and use this by default for SerializedFileReader

Change-Id: I467fcda7439d36c244d74bf5fec0ae61f6b674f0
wesm added a commit to wesm/arrow that referenced this pull request Sep 8, 2018
…ocalFileSource

I also added the `file_descriptor` API so that we can verify that dtors elsewhere successfully close open files. Closes apache#56

Author: Wes McKinney <[email protected]>

Closes apache#66 from wesm/PARQUET-520 and squashes the following commits:

9d638ba [Wes McKinney] Add memory-mapping option to ParquetFileReader::OpenFile. Add --no-memory-map flag to parquet_reader
6389683 [Wes McKinney] Add Read API tests
dbf6a45 [Wes McKinney] Test some failure modes for LocalFileSource / MemoryMapSource
01a7d64 [Wes McKinney] Add a MemoryMapSource and use this by default for SerializedFileReader

Change-Id: I467fcda7439d36c244d74bf5fec0ae61f6b674f0
praveenbingo added a commit to praveenbingo/arrow that referenced this pull request Sep 10, 2018
Exporting supported data types and functions from Gandiva.
Added a JNI bridge to access this from the java layer.
praveenbingo added a commit to praveenbingo/arrow that referenced this pull request Sep 10, 2018
Exporting supported data types and functions from Gandiva.
Added a JNI bridge to access this from the java layer.
zhouyuan pushed a commit to zhouyuan/arrow that referenced this pull request Jan 4, 2022
zhouyuan added a commit to zhouyuan/arrow that referenced this pull request Jan 6, 2022
* Support casting boolean to bigint (apache#60)

* remove log4j as it's not used (apache#61)

Signed-off-by: Yuan Zhou <[email protected]>

* Add stripe iteration support for batch_size reading in the ORC Scanner (apache#63)

* Install re2 headers (apache#66)

Co-authored-by: PHILO-HE <[email protected]>
Co-authored-by: zhixingheyi-tian <[email protected]>
zhztheplayer pushed a commit to zhztheplayer/arrow-1 that referenced this pull request Feb 8, 2022
zhztheplayer pushed a commit to zhztheplayer/arrow-1 that referenced this pull request Mar 3, 2022
rui-mo pushed a commit to rui-mo/arrow-1 that referenced this pull request Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants